package hr_project.hr.biz.Right;

import java.util.List;

import hr_project.hr.entity.Right;

public interface IRightBiz {
	//查找所有父权限
		public List<Right> getParentRight();
		//根据父亲id查找子权限
		public List<Right> getRightByPid(long pid);
		//x添加权限
		public void addRight(Right rig);	
		
		//删除权限
		public void delRight(long rid);
		//根据权限id查找一个权限
		public Right getByid(long id);
		//修改权限
		public void modRight(Right rig);
}
